#ifndef X11CLENTEVENTFILTER_H
#define X11CLENTEVENTFILTER_H

#include <QObject>
#include <QRect>
#include <QThread>
#include <QDebug>

#include <X11/Xlib.h>
#include <X11/extensions/record.h>

class X11ClentEventFilter : public QThread
{
    Q_OBJECT
public:
    explicit X11ClentEventFilter(QObject *parent = nullptr);

signals:
    void clientResize(unsigned long win, QRect rect);

protected:
    void run() override;

private:
    Display *m_display;
    Window m_rootwin;

public slots:
};

#endif // X11CLENTEVENTFILTER_H
